Skip to content

chore(elements): Add addtional misconfigured instance error messaging - #3303

Merged
tmilewski merged 5 commits into
mainfrom
tm.elements/add-appropriate-invalid-config-msg
May 1, 2024
Merged

chore(elements): Add addtional misconfigured instance error messaging#3303
tmilewski merged 5 commits into
mainfrom
tm.elements/add-appropriate-invalid-config-msg

Conversation

@tmilewski

Copy link
Copy Markdown
Member

Description

Handles a case where Elements is configured correctly but the Clerk instance may not be. This ensures that the appropriate error messaging is displayed to the developer.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@tmilewski
tmilewski requested a review from brkalow May 1, 2024 18:57
@tmilewski tmilewski self-assigned this May 1, 2024
@changeset-bot

changeset-bot Bot commented May 1, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: de356f3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/elements Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread packages/elements/src/internals/machines/sign-in/verification.machine.ts Outdated
…machine.ts

Co-authored-by: Bryce Kalow <bryce@clerk.dev>
@tmilewski
tmilewski enabled auto-merge (squash) May 1, 2024 19:07
Comment thread packages/elements/src/internals/machines/sign-in/verification.machine.ts Outdated
brkalow added 2 commits May 1, 2024 14:49
…3305)

* fix(elements): Prevent multiple verification codes from being sent at once

* Update packages/elements/src/react/sign-in/context/router.context.ts
@tmilewski
tmilewski merged commit a093eb4 into main May 1, 2024
@tmilewski
tmilewski deleted the tm.elements/add-appropriate-invalid-config-msg branch May 1, 2024 19:59
@clerk-cookie clerk-cookie mentioned this pull request May 1, 2024
@LekoArts LekoArts added this to the @clerk/elements (Beta) milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants